package com.literaryfamily.literaryfamily.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BookSaleOrdersExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BookSaleOrdersExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSaleIdIsNull() {
            addCriterion("sale_id is null");
            return (Criteria) this;
        }

        public Criteria andSaleIdIsNotNull() {
            addCriterion("sale_id is not null");
            return (Criteria) this;
        }

        public Criteria andSaleIdEqualTo(String value) {
            addCriterion("sale_id =", value, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdNotEqualTo(String value) {
            addCriterion("sale_id <>", value, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdGreaterThan(String value) {
            addCriterion("sale_id >", value, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdGreaterThanOrEqualTo(String value) {
            addCriterion("sale_id >=", value, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdLessThan(String value) {
            addCriterion("sale_id <", value, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdLessThanOrEqualTo(String value) {
            addCriterion("sale_id <=", value, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdLike(String value) {
            addCriterion("sale_id like", value, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdNotLike(String value) {
            addCriterion("sale_id not like", value, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdIn(List<String> values) {
            addCriterion("sale_id in", values, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdNotIn(List<String> values) {
            addCriterion("sale_id not in", values, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdBetween(String value1, String value2) {
            addCriterion("sale_id between", value1, value2, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdNotBetween(String value1, String value2) {
            addCriterion("sale_id not between", value1, value2, "saleId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdIsNull() {
            addCriterion("online_id is null");
            return (Criteria) this;
        }

        public Criteria andOnlineIdIsNotNull() {
            addCriterion("online_id is not null");
            return (Criteria) this;
        }

        public Criteria andOnlineIdEqualTo(String value) {
            addCriterion("online_id =", value, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdNotEqualTo(String value) {
            addCriterion("online_id <>", value, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdGreaterThan(String value) {
            addCriterion("online_id >", value, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdGreaterThanOrEqualTo(String value) {
            addCriterion("online_id >=", value, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdLessThan(String value) {
            addCriterion("online_id <", value, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdLessThanOrEqualTo(String value) {
            addCriterion("online_id <=", value, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdLike(String value) {
            addCriterion("online_id like", value, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdNotLike(String value) {
            addCriterion("online_id not like", value, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdIn(List<String> values) {
            addCriterion("online_id in", values, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdNotIn(List<String> values) {
            addCriterion("online_id not in", values, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdBetween(String value1, String value2) {
            addCriterion("online_id between", value1, value2, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdNotBetween(String value1, String value2) {
            addCriterion("online_id not between", value1, value2, "onlineId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andTransactionTimeIsNull() {
            addCriterion("transaction_time is null");
            return (Criteria) this;
        }

        public Criteria andTransactionTimeIsNotNull() {
            addCriterion("transaction_time is not null");
            return (Criteria) this;
        }

        public Criteria andTransactionTimeEqualTo(Date value) {
            addCriterion("transaction_time =", value, "transactionTime");
            return (Criteria) this;
        }

        public Criteria andTransactionTimeNotEqualTo(Date value) {
            addCriterion("transaction_time <>", value, "transactionTime");
            return (Criteria) this;
        }

        public Criteria andTransactionTimeGreaterThan(Date value) {
            addCriterion("transaction_time >", value, "transactionTime");
            return (Criteria) this;
        }

        public Criteria andTransactionTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("transaction_time >=", value, "transactionTime");
            return (Criteria) this;
        }

        public Criteria andTransactionTimeLessThan(Date value) {
            addCriterion("transaction_time <", value, "transactionTime");
            return (Criteria) this;
        }

        public Criteria andTransactionTimeLessThanOrEqualTo(Date value) {
            addCriterion("transaction_time <=", value, "transactionTime");
            return (Criteria) this;
        }

        public Criteria andTransactionTimeIn(List<Date> values) {
            addCriterion("transaction_time in", values, "transactionTime");
            return (Criteria) this;
        }

        public Criteria andTransactionTimeNotIn(List<Date> values) {
            addCriterion("transaction_time not in", values, "transactionTime");
            return (Criteria) this;
        }

        public Criteria andTransactionTimeBetween(Date value1, Date value2) {
            addCriterion("transaction_time between", value1, value2, "transactionTime");
            return (Criteria) this;
        }

        public Criteria andTransactionTimeNotBetween(Date value1, Date value2) {
            addCriterion("transaction_time not between", value1, value2, "transactionTime");
            return (Criteria) this;
        }

        public Criteria andOrderAmountIsNull() {
            addCriterion("order_amount is null");
            return (Criteria) this;
        }

        public Criteria andOrderAmountIsNotNull() {
            addCriterion("order_amount is not null");
            return (Criteria) this;
        }

        public Criteria andOrderAmountEqualTo(BigDecimal value) {
            addCriterion("order_amount =", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountNotEqualTo(BigDecimal value) {
            addCriterion("order_amount <>", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountGreaterThan(BigDecimal value) {
            addCriterion("order_amount >", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("order_amount >=", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountLessThan(BigDecimal value) {
            addCriterion("order_amount <", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("order_amount <=", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountIn(List<BigDecimal> values) {
            addCriterion("order_amount in", values, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountNotIn(List<BigDecimal> values) {
            addCriterion("order_amount not in", values, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("order_amount between", value1, value2, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("order_amount not between", value1, value2, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountIsNull() {
            addCriterion("discount is null");
            return (Criteria) this;
        }

        public Criteria andDiscountIsNotNull() {
            addCriterion("discount is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountEqualTo(Double value) {
            addCriterion("discount =", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotEqualTo(Double value) {
            addCriterion("discount <>", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountGreaterThan(Double value) {
            addCriterion("discount >", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountGreaterThanOrEqualTo(Double value) {
            addCriterion("discount >=", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountLessThan(Double value) {
            addCriterion("discount <", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountLessThanOrEqualTo(Double value) {
            addCriterion("discount <=", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountIn(List<Double> values) {
            addCriterion("discount in", values, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotIn(List<Double> values) {
            addCriterion("discount not in", values, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountBetween(Double value1, Double value2) {
            addCriterion("discount between", value1, value2, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotBetween(Double value1, Double value2) {
            addCriterion("discount not between", value1, value2, "discount");
            return (Criteria) this;
        }

        public Criteria andActualAmountIsNull() {
            addCriterion("actual_amount is null");
            return (Criteria) this;
        }

        public Criteria andActualAmountIsNotNull() {
            addCriterion("actual_amount is not null");
            return (Criteria) this;
        }

        public Criteria andActualAmountEqualTo(Double value) {
            addCriterion("actual_amount =", value, "actualAmount");
            return (Criteria) this;
        }

        public Criteria andActualAmountNotEqualTo(Double value) {
            addCriterion("actual_amount <>", value, "actualAmount");
            return (Criteria) this;
        }

        public Criteria andActualAmountGreaterThan(Double value) {
            addCriterion("actual_amount >", value, "actualAmount");
            return (Criteria) this;
        }

        public Criteria andActualAmountGreaterThanOrEqualTo(Double value) {
            addCriterion("actual_amount >=", value, "actualAmount");
            return (Criteria) this;
        }

        public Criteria andActualAmountLessThan(Double value) {
            addCriterion("actual_amount <", value, "actualAmount");
            return (Criteria) this;
        }

        public Criteria andActualAmountLessThanOrEqualTo(Double value) {
            addCriterion("actual_amount <=", value, "actualAmount");
            return (Criteria) this;
        }

        public Criteria andActualAmountIn(List<Double> values) {
            addCriterion("actual_amount in", values, "actualAmount");
            return (Criteria) this;
        }

        public Criteria andActualAmountNotIn(List<Double> values) {
            addCriterion("actual_amount not in", values, "actualAmount");
            return (Criteria) this;
        }

        public Criteria andActualAmountBetween(Double value1, Double value2) {
            addCriterion("actual_amount between", value1, value2, "actualAmount");
            return (Criteria) this;
        }

        public Criteria andActualAmountNotBetween(Double value1, Double value2) {
            addCriterion("actual_amount not between", value1, value2, "actualAmount");
            return (Criteria) this;
        }

        public Criteria andIsPostIsNull() {
            addCriterion("is_post is null");
            return (Criteria) this;
        }

        public Criteria andIsPostIsNotNull() {
            addCriterion("is_post is not null");
            return (Criteria) this;
        }

        public Criteria andIsPostEqualTo(Boolean value) {
            addCriterion("is_post =", value, "isPost");
            return (Criteria) this;
        }

        public Criteria andIsPostNotEqualTo(Boolean value) {
            addCriterion("is_post <>", value, "isPost");
            return (Criteria) this;
        }

        public Criteria andIsPostGreaterThan(Boolean value) {
            addCriterion("is_post >", value, "isPost");
            return (Criteria) this;
        }

        public Criteria andIsPostGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_post >=", value, "isPost");
            return (Criteria) this;
        }

        public Criteria andIsPostLessThan(Boolean value) {
            addCriterion("is_post <", value, "isPost");
            return (Criteria) this;
        }

        public Criteria andIsPostLessThanOrEqualTo(Boolean value) {
            addCriterion("is_post <=", value, "isPost");
            return (Criteria) this;
        }

        public Criteria andIsPostIn(List<Boolean> values) {
            addCriterion("is_post in", values, "isPost");
            return (Criteria) this;
        }

        public Criteria andIsPostNotIn(List<Boolean> values) {
            addCriterion("is_post not in", values, "isPost");
            return (Criteria) this;
        }

        public Criteria andIsPostBetween(Boolean value1, Boolean value2) {
            addCriterion("is_post between", value1, value2, "isPost");
            return (Criteria) this;
        }

        public Criteria andIsPostNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_post not between", value1, value2, "isPost");
            return (Criteria) this;
        }

        public Criteria andPostAmountIsNull() {
            addCriterion("post_amount is null");
            return (Criteria) this;
        }

        public Criteria andPostAmountIsNotNull() {
            addCriterion("post_amount is not null");
            return (Criteria) this;
        }

        public Criteria andPostAmountEqualTo(Double value) {
            addCriterion("post_amount =", value, "postAmount");
            return (Criteria) this;
        }

        public Criteria andPostAmountNotEqualTo(Double value) {
            addCriterion("post_amount <>", value, "postAmount");
            return (Criteria) this;
        }

        public Criteria andPostAmountGreaterThan(Double value) {
            addCriterion("post_amount >", value, "postAmount");
            return (Criteria) this;
        }

        public Criteria andPostAmountGreaterThanOrEqualTo(Double value) {
            addCriterion("post_amount >=", value, "postAmount");
            return (Criteria) this;
        }

        public Criteria andPostAmountLessThan(Double value) {
            addCriterion("post_amount <", value, "postAmount");
            return (Criteria) this;
        }

        public Criteria andPostAmountLessThanOrEqualTo(Double value) {
            addCriterion("post_amount <=", value, "postAmount");
            return (Criteria) this;
        }

        public Criteria andPostAmountIn(List<Double> values) {
            addCriterion("post_amount in", values, "postAmount");
            return (Criteria) this;
        }

        public Criteria andPostAmountNotIn(List<Double> values) {
            addCriterion("post_amount not in", values, "postAmount");
            return (Criteria) this;
        }

        public Criteria andPostAmountBetween(Double value1, Double value2) {
            addCriterion("post_amount between", value1, value2, "postAmount");
            return (Criteria) this;
        }

        public Criteria andPostAmountNotBetween(Double value1, Double value2) {
            addCriterion("post_amount not between", value1, value2, "postAmount");
            return (Criteria) this;
        }

        public Criteria andOrderStateIsNull() {
            addCriterion("order_state is null");
            return (Criteria) this;
        }

        public Criteria andOrderStateIsNotNull() {
            addCriterion("order_state is not null");
            return (Criteria) this;
        }

        public Criteria andOrderStateEqualTo(Integer value) {
            addCriterion("order_state =", value, "orderState");
            return (Criteria) this;
        }

        public Criteria andOrderStateNotEqualTo(Integer value) {
            addCriterion("order_state <>", value, "orderState");
            return (Criteria) this;
        }

        public Criteria andOrderStateGreaterThan(Integer value) {
            addCriterion("order_state >", value, "orderState");
            return (Criteria) this;
        }

        public Criteria andOrderStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_state >=", value, "orderState");
            return (Criteria) this;
        }

        public Criteria andOrderStateLessThan(Integer value) {
            addCriterion("order_state <", value, "orderState");
            return (Criteria) this;
        }

        public Criteria andOrderStateLessThanOrEqualTo(Integer value) {
            addCriterion("order_state <=", value, "orderState");
            return (Criteria) this;
        }

        public Criteria andOrderStateIn(List<Integer> values) {
            addCriterion("order_state in", values, "orderState");
            return (Criteria) this;
        }

        public Criteria andOrderStateNotIn(List<Integer> values) {
            addCriterion("order_state not in", values, "orderState");
            return (Criteria) this;
        }

        public Criteria andOrderStateBetween(Integer value1, Integer value2) {
            addCriterion("order_state between", value1, value2, "orderState");
            return (Criteria) this;
        }

        public Criteria andOrderStateNotBetween(Integer value1, Integer value2) {
            addCriterion("order_state not between", value1, value2, "orderState");
            return (Criteria) this;
        }

        public Criteria andSellerImageUrlIsNull() {
            addCriterion("seller_image_url is null");
            return (Criteria) this;
        }

        public Criteria andSellerImageUrlIsNotNull() {
            addCriterion("seller_image_url is not null");
            return (Criteria) this;
        }

        public Criteria andSellerImageUrlEqualTo(String value) {
            addCriterion("seller_image_url =", value, "sellerImageUrl");
            return (Criteria) this;
        }

        public Criteria andSellerImageUrlNotEqualTo(String value) {
            addCriterion("seller_image_url <>", value, "sellerImageUrl");
            return (Criteria) this;
        }

        public Criteria andSellerImageUrlGreaterThan(String value) {
            addCriterion("seller_image_url >", value, "sellerImageUrl");
            return (Criteria) this;
        }

        public Criteria andSellerImageUrlGreaterThanOrEqualTo(String value) {
            addCriterion("seller_image_url >=", value, "sellerImageUrl");
            return (Criteria) this;
        }

        public Criteria andSellerImageUrlLessThan(String value) {
            addCriterion("seller_image_url <", value, "sellerImageUrl");
            return (Criteria) this;
        }

        public Criteria andSellerImageUrlLessThanOrEqualTo(String value) {
            addCriterion("seller_image_url <=", value, "sellerImageUrl");
            return (Criteria) this;
        }

        public Criteria andSellerImageUrlLike(String value) {
            addCriterion("seller_image_url like", value, "sellerImageUrl");
            return (Criteria) this;
        }

        public Criteria andSellerImageUrlNotLike(String value) {
            addCriterion("seller_image_url not like", value, "sellerImageUrl");
            return (Criteria) this;
        }

        public Criteria andSellerImageUrlIn(List<String> values) {
            addCriterion("seller_image_url in", values, "sellerImageUrl");
            return (Criteria) this;
        }

        public Criteria andSellerImageUrlNotIn(List<String> values) {
            addCriterion("seller_image_url not in", values, "sellerImageUrl");
            return (Criteria) this;
        }

        public Criteria andSellerImageUrlBetween(String value1, String value2) {
            addCriterion("seller_image_url between", value1, value2, "sellerImageUrl");
            return (Criteria) this;
        }

        public Criteria andSellerImageUrlNotBetween(String value1, String value2) {
            addCriterion("seller_image_url not between", value1, value2, "sellerImageUrl");
            return (Criteria) this;
        }

        public Criteria andSellerDescriptionIsNull() {
            addCriterion("seller_description is null");
            return (Criteria) this;
        }

        public Criteria andSellerDescriptionIsNotNull() {
            addCriterion("seller_description is not null");
            return (Criteria) this;
        }

        public Criteria andSellerDescriptionEqualTo(String value) {
            addCriterion("seller_description =", value, "sellerDescription");
            return (Criteria) this;
        }

        public Criteria andSellerDescriptionNotEqualTo(String value) {
            addCriterion("seller_description <>", value, "sellerDescription");
            return (Criteria) this;
        }

        public Criteria andSellerDescriptionGreaterThan(String value) {
            addCriterion("seller_description >", value, "sellerDescription");
            return (Criteria) this;
        }

        public Criteria andSellerDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("seller_description >=", value, "sellerDescription");
            return (Criteria) this;
        }

        public Criteria andSellerDescriptionLessThan(String value) {
            addCriterion("seller_description <", value, "sellerDescription");
            return (Criteria) this;
        }

        public Criteria andSellerDescriptionLessThanOrEqualTo(String value) {
            addCriterion("seller_description <=", value, "sellerDescription");
            return (Criteria) this;
        }

        public Criteria andSellerDescriptionLike(String value) {
            addCriterion("seller_description like", value, "sellerDescription");
            return (Criteria) this;
        }

        public Criteria andSellerDescriptionNotLike(String value) {
            addCriterion("seller_description not like", value, "sellerDescription");
            return (Criteria) this;
        }

        public Criteria andSellerDescriptionIn(List<String> values) {
            addCriterion("seller_description in", values, "sellerDescription");
            return (Criteria) this;
        }

        public Criteria andSellerDescriptionNotIn(List<String> values) {
            addCriterion("seller_description not in", values, "sellerDescription");
            return (Criteria) this;
        }

        public Criteria andSellerDescriptionBetween(String value1, String value2) {
            addCriterion("seller_description between", value1, value2, "sellerDescription");
            return (Criteria) this;
        }

        public Criteria andSellerDescriptionNotBetween(String value1, String value2) {
            addCriterion("seller_description not between", value1, value2, "sellerDescription");
            return (Criteria) this;
        }

        public Criteria andBuyerImageUrlIsNull() {
            addCriterion("buyer_image_url is null");
            return (Criteria) this;
        }

        public Criteria andBuyerImageUrlIsNotNull() {
            addCriterion("buyer_image_url is not null");
            return (Criteria) this;
        }

        public Criteria andBuyerImageUrlEqualTo(String value) {
            addCriterion("buyer_image_url =", value, "buyerImageUrl");
            return (Criteria) this;
        }

        public Criteria andBuyerImageUrlNotEqualTo(String value) {
            addCriterion("buyer_image_url <>", value, "buyerImageUrl");
            return (Criteria) this;
        }

        public Criteria andBuyerImageUrlGreaterThan(String value) {
            addCriterion("buyer_image_url >", value, "buyerImageUrl");
            return (Criteria) this;
        }

        public Criteria andBuyerImageUrlGreaterThanOrEqualTo(String value) {
            addCriterion("buyer_image_url >=", value, "buyerImageUrl");
            return (Criteria) this;
        }

        public Criteria andBuyerImageUrlLessThan(String value) {
            addCriterion("buyer_image_url <", value, "buyerImageUrl");
            return (Criteria) this;
        }

        public Criteria andBuyerImageUrlLessThanOrEqualTo(String value) {
            addCriterion("buyer_image_url <=", value, "buyerImageUrl");
            return (Criteria) this;
        }

        public Criteria andBuyerImageUrlLike(String value) {
            addCriterion("buyer_image_url like", value, "buyerImageUrl");
            return (Criteria) this;
        }

        public Criteria andBuyerImageUrlNotLike(String value) {
            addCriterion("buyer_image_url not like", value, "buyerImageUrl");
            return (Criteria) this;
        }

        public Criteria andBuyerImageUrlIn(List<String> values) {
            addCriterion("buyer_image_url in", values, "buyerImageUrl");
            return (Criteria) this;
        }

        public Criteria andBuyerImageUrlNotIn(List<String> values) {
            addCriterion("buyer_image_url not in", values, "buyerImageUrl");
            return (Criteria) this;
        }

        public Criteria andBuyerImageUrlBetween(String value1, String value2) {
            addCriterion("buyer_image_url between", value1, value2, "buyerImageUrl");
            return (Criteria) this;
        }

        public Criteria andBuyerImageUrlNotBetween(String value1, String value2) {
            addCriterion("buyer_image_url not between", value1, value2, "buyerImageUrl");
            return (Criteria) this;
        }

        public Criteria andBuyerDescriptionIsNull() {
            addCriterion("buyer_description is null");
            return (Criteria) this;
        }

        public Criteria andBuyerDescriptionIsNotNull() {
            addCriterion("buyer_description is not null");
            return (Criteria) this;
        }

        public Criteria andBuyerDescriptionEqualTo(String value) {
            addCriterion("buyer_description =", value, "buyerDescription");
            return (Criteria) this;
        }

        public Criteria andBuyerDescriptionNotEqualTo(String value) {
            addCriterion("buyer_description <>", value, "buyerDescription");
            return (Criteria) this;
        }

        public Criteria andBuyerDescriptionGreaterThan(String value) {
            addCriterion("buyer_description >", value, "buyerDescription");
            return (Criteria) this;
        }

        public Criteria andBuyerDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("buyer_description >=", value, "buyerDescription");
            return (Criteria) this;
        }

        public Criteria andBuyerDescriptionLessThan(String value) {
            addCriterion("buyer_description <", value, "buyerDescription");
            return (Criteria) this;
        }

        public Criteria andBuyerDescriptionLessThanOrEqualTo(String value) {
            addCriterion("buyer_description <=", value, "buyerDescription");
            return (Criteria) this;
        }

        public Criteria andBuyerDescriptionLike(String value) {
            addCriterion("buyer_description like", value, "buyerDescription");
            return (Criteria) this;
        }

        public Criteria andBuyerDescriptionNotLike(String value) {
            addCriterion("buyer_description not like", value, "buyerDescription");
            return (Criteria) this;
        }

        public Criteria andBuyerDescriptionIn(List<String> values) {
            addCriterion("buyer_description in", values, "buyerDescription");
            return (Criteria) this;
        }

        public Criteria andBuyerDescriptionNotIn(List<String> values) {
            addCriterion("buyer_description not in", values, "buyerDescription");
            return (Criteria) this;
        }

        public Criteria andBuyerDescriptionBetween(String value1, String value2) {
            addCriterion("buyer_description between", value1, value2, "buyerDescription");
            return (Criteria) this;
        }

        public Criteria andBuyerDescriptionNotBetween(String value1, String value2) {
            addCriterion("buyer_description not between", value1, value2, "buyerDescription");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andPaymentsIdIsNull() {
            addCriterion("payments_id is null");
            return (Criteria) this;
        }

        public Criteria andPaymentsIdIsNotNull() {
            addCriterion("payments_id is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentsIdEqualTo(String value) {
            addCriterion("payments_id =", value, "paymentsId");
            return (Criteria) this;
        }

        public Criteria andPaymentsIdNotEqualTo(String value) {
            addCriterion("payments_id <>", value, "paymentsId");
            return (Criteria) this;
        }

        public Criteria andPaymentsIdGreaterThan(String value) {
            addCriterion("payments_id >", value, "paymentsId");
            return (Criteria) this;
        }

        public Criteria andPaymentsIdGreaterThanOrEqualTo(String value) {
            addCriterion("payments_id >=", value, "paymentsId");
            return (Criteria) this;
        }

        public Criteria andPaymentsIdLessThan(String value) {
            addCriterion("payments_id <", value, "paymentsId");
            return (Criteria) this;
        }

        public Criteria andPaymentsIdLessThanOrEqualTo(String value) {
            addCriterion("payments_id <=", value, "paymentsId");
            return (Criteria) this;
        }

        public Criteria andPaymentsIdLike(String value) {
            addCriterion("payments_id like", value, "paymentsId");
            return (Criteria) this;
        }

        public Criteria andPaymentsIdNotLike(String value) {
            addCriterion("payments_id not like", value, "paymentsId");
            return (Criteria) this;
        }

        public Criteria andPaymentsIdIn(List<String> values) {
            addCriterion("payments_id in", values, "paymentsId");
            return (Criteria) this;
        }

        public Criteria andPaymentsIdNotIn(List<String> values) {
            addCriterion("payments_id not in", values, "paymentsId");
            return (Criteria) this;
        }

        public Criteria andPaymentsIdBetween(String value1, String value2) {
            addCriterion("payments_id between", value1, value2, "paymentsId");
            return (Criteria) this;
        }

        public Criteria andPaymentsIdNotBetween(String value1, String value2) {
            addCriterion("payments_id not between", value1, value2, "paymentsId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}